\pagestyle{fancy}
%
\fancyhead[LO]	{\slshape \leftmark}
\fancyhead[CO]	{}
\fancyhead[RO]	{\thepage \ on \pageref{LastPage}}
\fancyhead[LE]	{\thepage \ on \pageref{LastPage}}
\fancyhead[CE]	{}
\fancyhead[RE]	{\slshape \rightmark}
\fancyfoot[O]	{}
\fancyfoot[E]	{}
